package urnaelectronica;

import javax.swing.SwingWorker;

public class ThreadAdmin extends SwingWorker {

    private UrnaElectronica urna;
    
    public ThreadAdmin(UrnaElectronica u){
        urna = u;
    }
    
    @Override
    protected Object doInBackground() throws Exception {
        urna.enviarDatos();
        return null;
    }
    
}
